package cn.kgc.springcloud09.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author: 课工场
 * @Version: v1.0  2023/2/21
 * @Description:
 */
@FeignClient(value = "HYSTRIXSERVICE",fallback =HystrixClientFallBack.class )
public interface HystrixClient {
    @RequestMapping("/hystrix/m1")
    String method1(@RequestParam("id") Integer id);
}
